<template>
  <ant-modal
    modalWidth="800"
    modalHeight="550"
    :visible="open"
    :modal-title="formTitle"
    :adjust-size="true"
    @cancel="cancel"
  >
    <a-form-model ref="form" :model="form" :rules="rules" slot="content" layout="vertical">
      <a-row :gutter="32">
        <a-col :span="12">
          <a-form-model-item label="创建者" prop="userId">
            <a-input v-model="form.userId" placeholder="请输入创建者"/>
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="创建部门" prop="deptId">
            <a-input v-model="form.deptId" placeholder="请输入创建部门"/>
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="创建名称" prop="userName">
            <a-input v-model="form.userName" placeholder="请输入创建名称"/>
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="部门名称" prop="deptName">
            <a-input v-model="form.deptName" placeholder="请输入部门名称"/>
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="公司ID" prop="companyId">
            <a-input v-model="form.companyId" placeholder="请输入公司ID"/>
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="单位名称" prop="companyName">
            <a-input v-model="form.companyName" placeholder="请输入单位名称"/>
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="社会统一标识码" prop="companyNo">
            <a-input v-model="form.companyNo" placeholder="请输入社会统一标识码"/>
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="经营范围" prop="fanwei">
            <a-textarea v-model="form.fanwei" placeholder="请输入经营范围" :rows="4"/>
          </a-form-model-item>
        </a-col>
    </a-row>
    <a-row :gutter="32">
        <a-col :span="12">
          <a-form-model-item label="机构范围" prop="level">
            <a-input v-model="form.level" placeholder="请输入机构范围"/>
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="法定代表人" prop="faren">
            <a-input v-model="form.faren" placeholder="请输入法定代表人"/>
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="职工人数" prop="yuangongcounst">
            <a-input-number v-model="form.yuangongcounst" :min="0" style="width: 100%"/>
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="党员人数" prop="dangyuancounts">
            <a-input-number v-model="form.dangyuancounts" :min="0" style="width: 100%"/>
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="总资产" prop="zongzican">
            <a-input v-model="form.zongzican" placeholder="请输入总资产"/>
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="净资产" prop="jingzican">
            <a-input v-model="form.jingzican" placeholder="请输入净资产"/>
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="负债率" prop="fuzailv">
            <a-input v-model="form.fuzailv" placeholder="请输入负债率"/>
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="党组织设立情况" prop="dangzuzi">
            <a-input v-model="form.dangzuzi" placeholder="请输入党组织设立情况"/>
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="排序" prop="sort">
            <a-input-number v-model="form.sort" :min="0" style="width: 100%"/>
          </a-form-model-item>
        </a-col>
      </a-row>
    </a-form-model>
    <template slot="footer">
      <a-button @click="cancel">
        取消
      </a-button>
      <a-button type="primary" @click="submitForm">
        保存
      </a-button>
    </template>
  </ant-modal>
</template>
<script>
import BizTaizhang002AddForm from "./BizTaizhang002Form"
export default {
  ...BizTaizhang002AddForm
}
</script>
